FVP: Allow BL3-2 to sit in the secure region of DRAM
authorJuan Castillo <juan.castillo@arm.com>
Fri, 19 Dec 2014 09:51:00 +0000 (09:51 +0000)
committerJuan Castillo <juan.castillo@arm.com>
Mon, 26 Jan 2015 12:05:55 +0000 (12:05 +0000)
commit513dd3a0769eb7550e0d8abd6466c76ffa137162
treee70682abe5a22493b8d749bb3eb782b546961bbf
parent6fd9eaf36ee26a2625238c7e153bbe7714369889
FVP: Allow BL3-2 to sit in the secure region of DRAM

This patch allows the secure payload (BL3-2) to be loaded in the
DRAM region secured by the TrustZone controller (top 16 MB of DRAM1).

The location of BL3-2 can be selected at build time by setting the
build flag FVP_TSP_RAM_LOCATION to one of the following options:

  - 'tsram' : Trusted SRAM (this is the default option)
  - 'tdram' : Trusted DRAM
  - 'dram'  : Secure region in DRAM1 (top 16MB configured by the
              TrustZone controller)

The number of MMU tables in BL3-2 depends on its location in
memory: 3 in case it is loaded in DRAM, 2 otherwise.

Documentation updated accordingly.

Fixes ARM-software/tf-issues#212

Change-Id: I371eef3a4159f06a0c9e3c6c1f4c905b2f93803a
Makefile
docs/firmware-design.md
docs/user-guide.md
plat/fvp/fvp_def.h
plat/fvp/include/platform_def.h
plat/fvp/platform.mk